BINARY = blink
OPENCM3_DIR = /home/dragon/wrk/openresources/libopencm3
LDSCRIPT = submake/f411ce.ld
include submake/Makefile.include

bear:
	bear -- $(PREFIX)gcc -I $(OPENCM3_DIR)/include /usr/lib/gcc/arm-none-eabi/12.1.0/include $(BINARY).c

burn:
	st-flash write $(BINARY).bin 0x8000000
